[Vmware to KVM Migration] Fix issue with vCenter Standalone hosts for VM listing#11091
Conversation
|
@blueorangutan package |
|
@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #11091 +/- ##
=========================================
Coverage 15.17% 15.18%
- Complexity 11363 11365 +2
=========================================
Files 5416 5416
Lines 475911 475919 +8
Branches 58096 58095 -1
=========================================
+ Hits 72241 72251 +10
+ Misses 395584 395582 -2
Partials 8086 8086
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 13921 |
|
@blueorangutan test ol8 vmware-80u3 |
|
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-80u3) has been kicked to run smoke tests |
| String msg = String.format("Standalone host %s found, setting empty cluster field", hostName); | ||
| s_logger.debug(msg); |
There was a problem hiding this comment.
| String msg = String.format("Standalone host %s found, setting empty cluster field", hostName); | |
| s_logger.debug(msg); | |
| String msg = String.format(“Host %s not found, assuming standalone host, setting cluster name as empty", hostName); | |
| s_logger.info(msg); |
There was a problem hiding this comment.
Hi @DaanHoogland the host is found, but not its cluster. Let me rephrase it a bit
|
@blueorangutan package |
|
@nvazquez a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 14067 |
|
@blueorangutan test ol8 vmware-70u3 |
|
@sureshanaparti a [SL] Trillian-Jenkins test job (ol8 mgmt + vmware-70u3) has been kicked to run smoke tests |
|
[SF] Trillian test result (tid-13711)
|

Description
This PR fixes the listing of VMware VMs for Migration to KVM on vCenter datacenters that have standalone hosts (don't belong to any cluster)
Example setup with standalone hosts:

Listing retrieved successfully, setting cluster field empty on the listing table:

Fixes: #11090
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
Set standalone hosts on the datacenter, having VMs on them
List VMs for Migration on CloudStack pointing to the vCenter
How did you try to break this feature and the system with this change?